from rest_framework import serializers

from search_main.models import HotWeibo, Hot51CTO


class HotWeiboSerializer(serializers.ModelSerializer):
    class Meta:
        model = HotWeibo
        fields = "__all__"


class Hot51CTOSerializer(serializers.ModelSerializer):
    class Meta:
        model = Hot51CTO
        fields = "__all__"
